package com.credit2go.cloud.service.impl;

import com.credit2go.cloud.model.TUser;
import com.credit2go.cloud.model.mapper.TUserMapper;
import com.credit2go.cloud.service.UserService;
import com.netflix.discovery.converters.Auto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by cuilijin on 2017/5/19.
 */
@Repository
public class UserServiceImpl  implements UserService {

    @Autowired
    private TUserMapper userMapper;

    @Override
    public List<TUser> getList() {

        return userMapper.selectByExample(null);
    }
}
